
using System;
using System.Collections;

namespace FutureOpen.Core
{
	#region Logtag

	/// <summary>
	/// Logtag string for NHibernate mapped table 'logtag'.
	/// </summary>
	public class Logtag
		{
		#region Member Variables
		
		protected int _logtag_id;
		protected int _logtag_usr;
		protected string _logtag_tag;
		protected DateTime _logtag_time;

		#endregion

		#region Constructors

		public Logtag() { }

		public Logtag( int logtag_usr, string logtag_tag, DateTime logtag_time )
		{
			this._logtag_usr = logtag_usr;
			this._logtag_tag = logtag_tag;
			this._logtag_time = logtag_time;
		}

		#endregion

		#region Public Properties

		public virtual int Logtag_id
		{
			get {return _logtag_id;}
			set {_logtag_id = value;}
		}

		public virtual int Logtag_usr
		{
			get { return _logtag_usr; }
			set { _logtag_usr = value; }
		}

		public virtual string Logtag_tag
		{
			get { return _logtag_tag; }
			set
			{
				if ( value != null && value.Length > 135)
					throw new ArgumentOutOfRangeException("Invalid value for Logtag_tag", value, value.ToString());
				_logtag_tag = value;
			}
		}

		public virtual DateTime Logtag_time
		{
			get { return _logtag_time; }
			set { _logtag_time = value; }
		}

        
		#endregion
		
        
	}

	#endregion
}
